<form action="" class="form-horizontal" role="form">
	<div class="form-group">
	    <label class="col-sm-2 control-label">排列序号</label>
	    <div class="col-sm-1">
	      <input type="number" class="form-control" name="sort" min="0" placeholder="" datatype="n" value="{$menu.sort}">
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-sm-2 control-label">上级菜单</label>
	    <div class="col-sm-2">
	      <select class="form-control" name="pid">{$topMenuOptions}</select>
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-sm-2 control-label">菜单名称</label>
	    <div class="col-sm-2">
	      <input type="text" class="form-control" name="name" placeholder="菜单名称" datatype="*1-10" value="{$menu.name}">
	    </div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">链接地址</label>
		<div class="col-sm-6">
			<input type="text" class="form-control" name="url" placeholder="菜单的链接地址" value="{$menu.url}">
		</div>
	</div>
	<!--<div class="form-group">
		<label class="col-sm-2 control-label">菜单类型</label>
		<div class="col-sm-6">
			<select type="text" class="form-control" name="type">{$menu.TypeOptions}</select>
		</div>
	</div>-->
	<div class="form-group">
		<div class="col-sm-offset-2 col-sm-8">
			<input type="hidden" name="id" value="{$menu.id}"/>
			<button type="submit" class="btn btn-primary" data-loading-txt="提交中，请稍后……" data-ajax-url="__CONTROLLER__/modifyPost">保存更改</button>
		</div>
	</div>
</form>